package com.xfmax.sharesdk.config;

import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Created by base on 18/2/2.
 */

public class Platform {

    private String appId;
    private String name;

    @IntDef({PlatformType.QQ,PlatformType.WEIBO,PlatformType.WEIXIN})
    @Retention(RetentionPolicy.SOURCE)
    public @interface PlatformType {
        int QQ = 0;
        int WEIBO = 1;
        int WEIXIN = 2;
    }


    public Platform() {
    }


    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
